package com.mida.app.knw.service;

import com.mida.dms.knw.entity.KnwCommonWordsTree;
import com.mida.dms.knw.vo.CommonWordsTreeDto;
import com.mida.dms.knw.vo.CommonWordsTreeVo;
import com.mida.tool.common.result.ActionResult;
import com.mida.tool.common.result.ListResult;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

public interface KnwCommonWordsTreeService {

    ActionResult addCommonWordsTree(CommonWordsTreeVo commonWordsTreeVo);

    ListResult<List<CommonWordsTreeVo>> selectCommonWordsTrees(@RequestBody CommonWordsTreeVo commonWordsTreeVo);

    ActionResult deleteCommonWordsTree(CommonWordsTreeVo commonWordsTreeVo);

    ActionResult updateCommonWordsTree(CommonWordsTreeVo commonWordsTreeVo);

    ActionResult sortCommonWordsTree(List<KnwCommonWordsTree> commonWordsTreeSoids);

    ActionResult shareCommonWordsTrees(CommonWordsTreeVo commonWordsTreeVo);

    Integer isDelete(CommonWordsTreeVo commonWordsTreeVo);

}